<template>
  <div class="App">
    <div>{{ message }}</div>
    <button @click="foo">点击foo</button>
    <div>{{ abc }}</div>
  </div>
</template>

<script>
import { dataMinxs } from './mixins/dataminx'
export default {
  mixins: [dataMinxs],
  data () {
    return {
      title: 'hello title',
      message: 'hello App'
    }
  },
  methods: {
    foo () {
      console.log('组件中的foo方法。。。')
    }
  },
  created () {
    console.warn('组件的 created ')
  },
  computed: {
    abc () {
      return '345'
    }
  },
  name: 'App'
}
</script>

<style scoped>
</style>
